Global Events

SUMMARY

It allows defining reactions of the system to certain events.

CONTENTS

  1. Introduction
  2. Calling up the program
  3. Event 'Accelerator'
  4. Event 'System'
  5. Event 'Dataobject'

Introduction

With the program reactions of the system to certain events are defined.

During runtime a defined event occurs --> the system reacts with a defined action.

Calling up the program

It is done via the pull down menu 'File' of the 'AbvBrowser' and mouse click to the item ‘Global events…'

A similar dialog window is opened:



For the version of the selected project any defined event is listed.

The first column shows the Event type, the following are possible:

Typ Event Remark
D Dataobject An Event of that type is recognized in subject to a data object related function.
K Accelerator Definition of buttons or combination of buttons which are recognized by the system as an 'event'.
S System Available System-Events can be chosen via the button


The second column refers to the Event type ‘K’, look there.

The third column lists the events the system should respond to.

The fourth column lists the action(s) the system will respond with to the event.

Possible actions via the buttons
Button Action
Ok Saves new/modified objects and closes the window.
Cancel Closes the window without saving any changes
(same as the "close window" button in the right upper corner)
Add Adds a new Event.
(If an Event is marked, the newly created data record contains the parameters of the marked one; without a previously marked Event the record is empty.)
Edit The marked Event is opened
Delete The marked Event is deleted

Event 'Accelerator'

The following dialog window is opened:

Event
As event to respond to ‘Accelerator’ is defined.
Via the field ‘Key’ the wanted button is selected
Via the checkboxes you can define whether the selected button should be recogniced as event in combination with the ‘Shift’= , ‘Ctrl’= , ‘Alt=, or a sum of these buttons.

Enable
Via these fields additional conditions for triggering the event dependent action(s) may be defined.

In the entry field ‘Function’ you may define a function that must be achieved. (Return value unequal 0)

The entry field "Functionnumber (ControlAccess)" defines the Function number the logged in user must have in his user profile that the defined action is executed.

Execute
The field ‘Action’ defines the action(s) to be executed on occurance of the Event.
It is possible to define several actions to be executed in series.

Note:
Actions are executed only if any below "Enable" defined conditions are achieved.

Event 'System'

The following dialog window is opened:

Event
As event to respond to ‘System’ is defined.
Via the field ‘Events’ the following System Events may be chosen:

Enable
Via these fields additional conditions for triggering the event dependent action(s) may be defined.

In the entry field ‘Function’ you may define a function that must be achieved. (Return value unequal 0)

The entry field "Functionnumber (ControlAccess)" defines the Function number the logged in user must have in his user profile that the defined action is executed.

Execute
The field ‘Action’ defines the action(s) to be executed on occurance of the Event.
It is possible to define several actions to be executed in series.

Note:
Actions are executed only if any below "Enable" defined conditions are achieved.

Event 'Dataobject'

The following dialog window is opened:

Event
As event to respond to ‘Dataobject’ is defined.
An Event of that type is recognized dependent on a data object related function, i.e. if the value the function monitors changes.

Enable
Via these fields additional conditions for triggering the event dependent action(s) may be defined.

In the entry field ‘Function’ you may define a function that must be achieved. (Return value unequal 0)

The entry field "Functionnumber (ControlAccess)" defines the Function number the logged in user must have in his user profile that the defined action is executed.

Execute
The field ‘Action’ defines the action(s) to be executed on occurance of the Event.
It is possible to define several actions to be executed in series.

Note:
Actions are executed only if any below "Enable" defined conditions are achieved.